package com.alibaba.middleware.hsf.guide.serial.hessian.timestamp;

import java.io.Serializable;
import java.sql.Timestamp;
import java.util.Date;

/**
 * @author weipeng2k 2015年10月9日 上午11:34:22
 */
public class TimeItem implements Serializable {
    
    private static final long serialVersionUID = 6917582036068501211L;
                                               
    private Timestamp         time;
                              
    private Date              date;
                              
    public Timestamp getTime() {
        return time;
    }
    
    public void setTime(Timestamp time) {
        this.time = time;
    }
    
    public Date getDate() {
        return date;
    }
    
    public void setDate(Date date) {
        this.date = date;
    }
    
    @Override
    public String toString() {
        return "TimeItem [time=" + time + ", date=" + date + "]";
    }
    
}
